# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=py3-configshell
_pkgname=configshell
pkgver=1.1.26
pkgrel=3
pkgdesc="Python library that provides a framework for building simple but nice CLI-based applications"
url="https://github.com/agrover/configshell-fb"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-six py3-urwid py3-parsing"
makedepends="py3-setuptools"
options="!check" # no test suite
source="$_pkgname-fb-$pkgver.tar.gz::https://github.com/agrover/configshell-fb/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-fb-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="25e5b4ee812a51c99eed4d039ac8bab883218a674ff27f9eee4604d133b592574f4829ead9cb1aba4d2aca873f5414ad4ca55979c6d4eadaa9a802b1d563494d  configshell-fb-1.1.26.tar.gz"
